package cn.jieruoda.eb.user.domain.repository;

import cn.jieruoda.eb.user.domain.entity.UserBill;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserBillRepository extends JpaRepository<UserBill, Integer> {
    List<UserBill> findByUidAndCategoryAndType(Integer uid, String category, String type);
    List<UserBill> findByUidAndPm(Integer uid, Integer pm);
    List<UserBill> findByUidAndStatus(Integer uid, Boolean status);
} 